import request from "@/request/";

// 工单投料报表列表
export const getList = (data) => {
  return request({
    url: "/api/mes-production-service/product-trace-report/page",
    method: "POST",
    data,
  });
};

// 工单投料报表列表-详情
export const getDetail = (data) => {
  return request({
    url: "/api/mes-production-service/product-trace-report/order-material/page",
    method: "POST",
    data,
  });
};

export const getChildDetail = (data) => {
  return request({
    url: "/api/mes-production-service/product-trace-report/container/process-wip-log/list",
    method: "POST",
    data,
  });
};
